﻿using AutoMapper;
using IOA.MES.Log.DataAccess.Entity;
using IOA.MES.Log.DataAccess.VModel;

namespace IOA.MES.Log.DataAccess
{
    public class MapperConvert
    {
        public void InitMapper(IMapperConfigurationExpression cfg)
        {
            cfg.CreateMap<OprLog, VOprLog>().ForMember(d => d.LogTimeStr, opt =>
            {
                opt.Ignore();
            });
        }
    }
}
